package test;
/**
 * 
 */

import java.io.BufferedReader;
import java.io.FileReader;
import java.io.IOException;

/**
 * @author Jamada
 *
 */
public class StatusUpdateCount {
    
    //private static final String STATUS_FILE_A = "C:/Users/Jamada/Desktop/fb_status_updates/fb_status_a";
    
    private static final String STATUS_FILE_B = "C:/Users/Jamada/Desktop/fb_status_updates/fb_status_b";
    
    private static final String CSV_EXT = ".csv";
    
    /**
     * @param args
     */
    public static void main(String[] args) {
        BufferedReader bReader;
        try {
            bReader = new BufferedReader(new FileReader(STATUS_FILE_B + CSV_EXT));
            @SuppressWarnings("unused")
			String line;
            int count = 0;
            bReader.readLine();
            while ((line = bReader.readLine()) != null) {
                count++;
            }
            bReader.close();
            System.out.println("Number Status Updates: " + count);
        } catch (IOException e) {
            e.printStackTrace();
        }

    }

}
